<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>开通会员</title>
  <link rel="stylesheet" href="css/style.css" />
  <link rel="stylesheet" href="css/personal.css" />
  <link rel="stylesheet" href="css/swiper.min.css" />
  <link rel="stylesheet" href="js/layui/css/layui.css" />
  <link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css">
</head>
<body>

    <div class="section">
        <div class="member_list">
            <ul>
                <li>
                    <img class="member_list_left" src="images/member_list_img.png">
                    <div class="member_list_center">
                        <div class="hang">
                            <span class="member_hy">月会员</span>
                            <i class="member_zc">9.1折</i>
                            <span class="member_dj">￥300</span>
                        </div>
                        <div class="hang">
                            <p class="member_time">24个月</p>
                            <p class="member_yj">￥900</p>
                        </div>
                        
                    </div>
                    <div class="member_list_right">
                        <input type="radio" class="checkbox" name="dx">
                    </div>
                </li>
                <li>
                    <img class="member_list_left" src="images/member_list_img.png">
                    <div class="member_list_center">
                        <div class="hang">
                            <span class="member_hy">月会员</span>
                            <i class="member_zc">9.1折</i>
                            <span class="member_dj">￥300</span>
                        </div>
                        <div class="hang">
                            <p class="member_time">24个月</p>
                            <p class="member_yj">￥900</p>
                        </div>
                        
                    </div>
                    <div class="member_list_right">
                        <input type="radio" class="checkbox" name="dx">
                    </div>
                </li>
                <li>
                    <img class="member_list_left" src="images/member_list_img.png">
                    <div class="member_list_center">
                        <div class="hang">
                            <span class="member_hy">月会员</span>
                            <i class="member_zc">9.1折</i>
                            <span class="member_dj">￥300</span>
                        </div>
                        <div class="hang">
                            <p class="member_time">24个月</p>
                            <p class="member_yj">￥900</p>
                        </div>
                        
                    </div>
                    <div class="member_list_right">
                        <input type="radio"  class="checkbox" name="dx">
                    </div>
                </li>
                <li>
                    <img class="member_list_left" src="images/member_list_img.png">
                    <div class="member_list_center">
                        <div class="hang">
                            <span class="member_hy">月会员</span>
                            <i class="member_zc">9.1折</i>
                            <span class="member_dj">￥300</span>
                        </div>
                        <div class="hang">
                            <p class="member_time">24个月</p>
                            <p class="member_yj">￥900</p>
                        </div>
                        
                    </div>
                    <div class="member_list_right">
                        <input type="radio" class="checkbox" name="dx">
                    </div>
                </li>
                <li>
                    <img class="member_list_left" src="images/member_list_img.png">
                    <div class="member_list_center">
                        <div class="hang">
                            <span class="member_hy">月会员</span>
                            <i class="member_zc">9.1折</i>
                            <span class="member_dj">￥300</span>
                        </div>
                        <div class="hang">
                            <p class="member_time">24个月</p>
                            <p class="member_yj">￥900</p>
                        </div>
                        
                    </div>
                    <div class="member_list_right">
                        <input type="radio" class="checkbox" name="dx">
                    </div>
                </li>
                <li>
                    <img class="member_list_left" src="images/member_list_img.png">
                    <div class="member_list_center">
                        <div class="hang">
                            <span class="member_hy">月会员</span>
                            <i class="member_zc">9.1折</i>
                            <span class="member_dj">￥300</span>
                        </div>
                        <div class="hang">
                            <p class="member_time">24个月</p>
                            <p class="member_yj">￥900</p>
                        </div>
                        
                    </div>
                    <div class="member_list_right">
                        <input type="radio" class="checkbox" name="dx">
                    </div>
                </li>
            </ul>
        </div>

        <div class="member_num">
            <div class="member_num_num">
                <span class="num_bt">数量：</span>
                <div class="num_dj">
                    <img id="min" src="images/jian.png">
                    <input id="text_box" type="text" name="" value="1">
                    <img id="add" src="images/jia.png">
                </div>
            </div>
            <div class="member_num_jf">
                <p>积分抵用：可用<b>50</b>积分抵用<b>￥500</b></p>
                <input type="checkbox" name="dx">
            </div>
            <div class="member_num_jg">
                <p>价格：<b>￥1200</b></p>
            </div>
        </div>

        <div class="member_invoice">
            <div class="about_bt" style="border:0;">
                <p></p>
                <span>发票</span>
                <div class="layui-form switch">
                    <input type="checkbox" name="close" lay-skin="switch" lay-filter="switchTest" lay-text="" checked="checked">
                </div>
            </div>
            <div class="member_invoice_nr">
                <div class="invoice_nr_kaip">
                    <div class="kaip_bt">
                        <span>开票信息</span>
                        <div class="bt_list">
                            <a class="active" href="#">个人</a>
                            <a href="#">单位</a>
                        </div>
                    </div>
                    <div class="profile_list_nr">
                        <ul>
                            <li>
                                <p>公司名称：</p>
                                <input type="" name="" placeholder="请输入公司名称">   
                            </li>
                            <li>
                                <p class="list_nr_chang">纳税人识别号：</p>
                                <input class="list_nr_input" type="" name="" placeholder="请输入纳税人识别号">
                            </li>
                        </ul>
                    </div>
                </div>

                <div class="invoice_nr_youji">
                    <div class="kaip_bt">
                        <span>邮寄地址</span>
                    </div>
                    <div class="profile_list_nr">
                        <ul>
                            <li>
                                <p>收货人：</p>
                                <input type="" name="" placeholder="请填写收货人姓名">
                            </li>
                            <li>
                                <p>联系电话：</p>
                                <input type="" name="" placeholder="请填写联系电话">
                            </li>
                            <li>
                                <p>收货地址：</p>
                                <input type="" name="" placeholder="请填写收货地址">
                            </li>
                            <li>
                                <p>详细地址：</p>
                                <input type="" name="" placeholder="请填写详细地址">
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="member_tj">
            <input type="button" onclick="window.location.href='order.html'" name="" value="提交订单">
        </div>
    </div>

</body>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/swiper.min.js"></script>
<script type="text/javascript" src="js/mobile.js"></script>
<script type="text/javascript" src="js/layui/layui.js"></script>
<script type="text/javascript">

    $(function(){
        var t = $("#text_box");
        //数量增加操作
        $("#add").click(function(){
            t.val(parseInt(t.val())+1)
            if (parseInt(t.val())!=1){
            }
        })
        //数量减少操作
        $("#min").click(function(){
            t.val(parseInt(t.val())-1);
            if (parseInt(t.val())<=1){
                t.val(1);
            }
        })
    });
    layui.use(['form', 'layedit', 'laydate'], function(){
        var form = layui.form;

        form.on('switch(switchTest)', function(data){
            if(this.checked==true){
                $('.member_invoice_nr').show();
            }else{
                $('.member_invoice_nr').hide();
            };
        });
    })
</script>